package com.qpx.jxcbiz.web;


import lombok.Data;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.security.auth.login.CredentialNotFoundException;
import java.util.HashMap;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author Mht
 * @since 2020-05-22
 */
@RestController
@RequestMapping("/tCustomer")
public class TCustomerController {

    @RequestMapping("/Website/contents/crawler-modify")
    public Object crawler(@RequestBody Dto dto){

        return new HashMap();
    }

}

@Data
class Dto{
    private String key;
    private Object doc;
}
